﻿create proc [dbo].[danhmucTienTe_Xoa]
@loaitien varchar(255)
as
if not exists(select * from DM_TIenTe  where loaitien=@loaitien   )
begin
select ErrCode=0
end
else
begin
delete from DM_TIenTe where loaitien=@loaitien 
select ErrCode=1
end